import service from "../utils/service.ts";

export const getmyorder = (userId: any) => {
    return service.get(`/my-order/my-order/${userId}`)
};

export const payOrder = (oId : any) => {
    return service.put(`/my-order/update/${oId}`)
};

export const cancelOrder = (oId : any) => {
    return service.put(`/my-order/delete/${oId}`)
};